/*
    Klenwell Wikka Stylesheet
    media: screen

*/

/*
    Stylesheet Defaults
*/
body { margin:0; padding:0; }
h1, h2, h3, h4, h5, h6 { margin:0 0 .5em; padding:0; }
p, pre, blockquote, ul, ol, dl, address { margin: .5em 0; padding: 0; }
ul li { list-style:none; margin-left:.5em; }
form, fieldset { margin: 0; padding: 0; }
dd, blockquote { margin-left: .5em; }
form label { cursor: pointer; }
fieldset { border: none; }
input, select, textarea { font-size: 100%; }
table { border-collapse:collapse; }
td { vertical-align:top; }
a img { border: none; }
.left { float:left; }
.right { float:right;}
.clear { clear:both; }


/*
    Basic Typography
*/
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 20px;
    font-size: 13px;
    text-align: left;
}
a           { text-decoration:none; color:#009900; }
a:hover     { text-decoration:underline; color:#00cc00; }
a.ext       { }
a.ext:hover { }


/*
    Page Layout

    This section is mostly limited to layout details.  For additional styling,
    esp. typography, see sections below.
*/
body {
    color: #668866;
    background-color:#eef3ee;
}

#page {
    margin:0 auto;
    padding:4px 0 0;
    width:1000px;
}

#header {
    position: relative;
    margin:4px 0;
}

#navbar {
    position:relative;
    font-size:11px;
}

#content {
    position:relative;
    float:left;
    width:714px;
    padding:10px 1%;
    z-index:3;
}

#comments {
    width:254px;
    padding:2px;
    float:right;
    clear:right;
}

.feature_box {
    display:block;
    width:254px;
    padding:2px;
    float:right;
}

#footer {
    float:left;
    width:734px;
}

#smallprint {
    clear:both;
    position:relative;
    margin:0;
    padding:4px 0;
    font-size:11px;
}


/* Feature Boxes */
div.feature_box div.brace {
    margin:8px 0;
    padding:4px 8px;
    background-color: #ffffff;
    border:1px solid #ddeedd; border-width:2px 0px 2px;
}
#feature_box_ad {
    display:block;
    margin:8px 0;
    padding:0px;
    width:254px;
    float:right;
    text-align:center;
}


/* Header */
#header { }
#header h2 {
    margin:0;
    padding:24px 8px;
    font-family:Arial, Helvetica, sans-serif;
    font-size:28px;
    font-weight:normal;
}
#header a {
    color: #336633;
    border-bottom: 0px;
}
#header a:hover {
    color: #339933;
    text-decoration:none;
}


/* Navbar */
ul#search_menu {
    position:absolute;
    top:-5px; right:0px;
    margin:0 2em 0 0;
    z-index:5;
}
ul#search_menu label {
    font-weight:bold;
    margin-right:3px;
}
ul#search_menu input#searchbox {
    font-size:14px;
    width:8em;
}
ul#search_menu li {
    display: inline;
    margin: 0;
    list-style: none;
}

ul#main_menu {
    position:relative;
    margin:0 6px 0 12px;
    z-index:1;
}
ul#main_menu li {
    display: inline;
    margin: 0;
    list-style: none;
}
ul#main_menu li a {
    margin-right:8px;
    padding:5px;
    text-decoration:none;
    color:#669966;
    font-weight:bold;
    background-color:#fff;
    border:1px solid #ddeedd;
    border-bottom-color:#F8F8F8;
}
ul#main_menu li a:hover {
    text-decoration:none;
    color:#339933;
    background-color:#ffffff;
    border-color:#339933;
}

ul#admin_menu {
    position:relative;
    margin:0;
    padding:4px 0;
    font-size:11px;
    background-color: #ffffff;
    border:1px solid #ddeedd; border-width:2px 0px 0px;
    z-index:3;
}
ul#admin_menu li {
    display: inline;
    margin: 0;
    list-style: none;
    margin-right:8px;
    padding:5px;
}
ul#admin_menu li a {
    color:#339933;
}
ul#admin_menu li a:hover {
    color:#33cc33;
}


/* Content */
#content {
    font-size: 13px;
    text-align: left;
    background-color: #ffffff;
    border:1px solid #ddeedd; border-width:2px 0px 0px;
}
#content a.datetime {
    font-size: 80%;
    font-family: "Lucida Console", Monaco, monospace;
}

#content a.keys, #content a.keys:hover {
    color: #666;
    background-color: #ddd;
    font: normal 95% Verdana, sans-serif;
    text-decoration: none;
}


/* Comments */
#comments {
    background-color: #ffffff;
    border:1px solid #ddeedd; border-width:2px 0px;
}
#commentheader {
    padding:4px 8px;
    font-family:"Trebuchet MS", Helvetica, sans-serif;
    border-bottom:1px solid #ddeedd;
}
#commentlist {
    font-size:12px;
}
#comments a {
}
.comment {
    border-bottom: 2px solid #ddeedd;
    margin: 0px;
    padding: 8px 12px;
}
.commentinfo {
    padding:2px;
    font-size:.9em;
    font-weight:bold;
}
#commentform {
    margin-top:2px;
    padding:8px 4px;
    background-color:#eef3ee;
}
#commentform label {
    font-weight:bold;
}
#commentform textarea {
    width:90%;
    margin:4px auto;
    height: 80px;
}
div.comment_flash {
    margin:4px 0;
    padding:8px;
    color: #6cc;
    font-style: normal;
    font-weight: bold;
    font-size: 0.9em;
    background-color:#fff;
    border:1px solid #6cc; border-width:2px 0;
}

div.comment_flash.success {
    color: #6c6;
    border-color:#6c6;
}

div.comment_flash.failure {
    color: #c66;
    border-color:#c66;
}


/* Footer */
ul#options_menu {
    position:relative;
    margin:0;
    padding:4px 0;
    font-size:11px;
    background-color: #ffffff;
    border:1px solid #ddeedd; border-width:2px 0px;
    z-index:3;
}
ul#options_menu li {
    display: inline;
    margin: 0;
    list-style: none;
    margin-right:8px;
    padding:5px;
}
ul#options_menu li a {
    color:#339933;
    text-decoration:none;
}
ul#options_menu li a:hover {
    color:#33cc33;
}


/* Small Print */
#smallprint {
    position:relative;
    margin:0;
    padding:4px 0;
    font-size:11px;
}
#smallprint a {
    padding:4px;
    text-decoration:none;
}
#smallprint a:hover {
    color:#339933;
}


/*
    Wiki Markup
*/
/* form elements */
fieldset {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #CCC;
}
fieldset legend {
    font-size: 115%;
    color: #666;
    padding:2px;
}
textarea {
    margin-right: 0;
    width: 98%;
    height: 500px;
    border: 1px solid #CCC;
}
textarea:hover {
    background-color: #F3F3F3;
}
textarea:focus {
    background-color: #e6ffe6;
}
input {
    border: 1px solid #339933;
}
input:hover {
    background-color: #f3f9f3;
}
input:focus {
    background-color: #e6ffe6;
}
input[type=hidden] {
    display: none;
}
input[type=submit], input[type=button] {
    font: normal 95% Arial, sans-serif;
    text-align: center;
    border-top: 1px solid #FFF;
    border-left: 1px solid #FFF;
    border-right: 1px solid #AAA;
    border-bottom: 1px solid #AAA;
    padding: .1em .2em;
    background-color: #f3f9f3;
    color: #336633;
}
input[type=submit]:hover, input[type=button]:hover {
    color: #333;
    background-color:#f3f9f3;
    border-top: 1px solid #FFF;
    border-left: 1px solid #FFF;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
}

/* editor textarea decorations */
/* (decorations can't be in "textarea#body" declaration, else the "width:100%" won't work) */
#textarea_container {
    border: 1px solid #cccccc;
    padding: 2px;
    margin-bottom: 2px;
}
textarea#body{
    width: 100%;
    height: 500px;
    /* padding and border must be 0 for the "width:100%" to work */
    padding: 0;
    border: 0;
}
.searchbox {
    /* border: none; */
    border: 1px solid #339933;
    padding: 0px;
    margin: 0px;
    width: 80px;
}

input.grabcode {
    float: right;
    margin-top: 0px;
    font-size: 90%;
}
input.highlight {
    font-weight: normal;
    background-color: #f3f9f3;
    color: #336633;
}

/* system information */
.missingpage {
    color: #cc9933;
    text-decoration: none;
    background-color: transparent;
    border: none;
}
.missingpage:after {
    content: "+";
}

/* inline system messages */
em.error {
    display:block;
    margin:4px 0;
    padding:8px;
    color: #c66;
    font-style: normal;
    font-weight: bold;
    font-size: 1.2em;
    background-color:#fff;
    border:1px solid #c66; border-width:2px 0;
}
em.success {
    display:block;
    margin:4px 0;
    padding:8px;
    color: #33aa33;
    font-style: normal;
    font-weight: bold;
    font-size: 95%;
    background-color:#fff;
    border:1px solid #33aa33; border-width:2px 0;
}

/* redirection messages */
div#redirect_message {
    position: fixed;
    top: 2em;
    right: 1.5em;
    max-width: 40%;
    border: 2px solid #3A3;
    padding: .2em .4em;
    color: #3A3;
    background-color: #EFE;
    font-style: normal;
    font-weight: bold;
    font-size: 90%;
}
.comments {display: none;}
.revisioninfo {
    color: #000000;
    background-color: #E9F9E9;
    border: 1px solid #ACA;
    padding: 5px 10px;
    font-size: 90%;
    margin-bottom: 1em;
}
.copyright {
    font-size: 11px;
    color: #AAA;
    text-align: right;
}
.copyright a {
    color: #AAA;
}
.previewhead {
    margin: auto;
    z-index:20;
    position:fixed;
    top: 80px;
    left: 10px;
    color: red;
    font-size: xx-large;
    font-weight: bold;
    padding: 5px;
}
ins {
    background-color: #CFC;
    text-decoration: none;
}
del {
    color: #876;
    background-color: #FC9;
    text-decoration: none;
}
.recentchanges {font-size: 0.9em;}
.pagenote {color: #888;}
.smaller {font-size: smaller;}


/* sort order information in sortable lists and tables*/
.sortorder {
    font-size: 70%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* debug messages */
.debug {
    color: #AAA;
    font-size: 70%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* code blocks */
.code_header {
    color: #336;
    background-color: #D0E0F0;
    border-top: 1px solid #AAC;
    border-right: 1px solid #AAC;
    border-left: 1px solid #AAC;
    border-bottom: none;
    font-family: Verdana, Arial, sans-serif;
    font-size: 100%;
    padding: 0 3px;
    margin: 5px auto 0 auto;
    text-align: left;
    line-height: 1.5em;
}
.code {
    color: black;
    background: #F3F3FF;
    border: 1px solid #AAC;
    font-size: 11px;
    font-family: "Lucida Console", Monaco, monospace;
    margin: auto;
    padding: 6px 5px 13px 5px;	/* padding-bottom solves hor. scrollbar hiding single line of code in IE6 but causes vert. scrollbar... */
    text-align: left;			/* override justify on body */
    overflow: auto;				/* allow scroll bar in case of long lines - goes together with white-space: nowrap! */
    white-space: nowrap;		/* prevent line wrapping */
}
.code pre {
    margin-top: 6px;
    margin-bottom: 6px;			/* prevent vertical scroll bar in case of overflow */
    font-size: 11px;
    font-family: "Lucida Console", Monaco, monospace;
}


/* tables */
table.data {
	border: 2px solid #CCC;
	border-collapse: collapse;
	border-spacing: 0;
}

table.data caption {
	border: 1px solid #CCC;
	font-size: 95%;
	color: #666;
	margin:5px 0;
	padding:2px;
}

table.data thead {
	background-color: #DDD;
}

table.data tfoot {
	background-color: #DDD;
}

table.data th {
	border: 1px solid #CCC;
	padding: .1em .25em;
}

table.data thead th {
	background-color: #DDD;
}

table.data tfoot th {
	background-color: #DDD;
}

table.data tbody th {
	background-color: #EEE;
}

table.data tbody tr:hover {
	background-color: #E9E9F9;
}

table.data tbody tr.alt:hover {
	background-color: #E9E9F9;
}

table.data td {
	border: 1px solid #CCC;
	padding: .1em .25em;
}

table.data td.number {
	text-align: right;
}

table.data td.datetime {
	color: #666;
	font-size: 80%;
	font-family: "Lucida Console", Monaco, monospace;
	text-align: right;
	white-space: nowrap;
}

/* --- alternate row & column color --- */

table.data tr.alt {
	background-color: #EEE;
}

table.data th.c1 {
	background-color: #CDD;
}

table.data th.c2 {
	background-color: #DCC;
}

table.data th.c3 {
	background-color: #DDC;
}

table.data th.c4 {
	background-color: #CDC;
}

table.data th.c5 {
	background-color: #CCD;
}

table.data th.c6 {
	background-color: #DCD;
}

table.data td.c1 {
	background-color: #EFF;
}

table.data td.c2 {
	background-color: #FEE;
}

table.data td.c3 {
	background-color: #FFE;
}

table.data td.c4 {
	background-color: #EFE;
}

table.data td.c5 {
	background-color: #EEF;
}

table.data td.c6 {
	background-color: #FEF;
}

table.data tr.alt td.c1 {
	background-color: #DEE;
}

table.data tr.alt td.c2 {
	background-color: #EDD;
}

table.data tr.alt td.c3 {
	background-color: #EED;
}

table.data tr.alt td.c4 {
	background-color: #DED;
}

table.data tr.alt td.c5 {
	background-color: #DDE;
}

table.data tr.alt td.c6 {
	background-color: #EDE;
}


/* lists */
ul, ol {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: .5em;
    padding-top: 0px;
    padding-bottom: 0px;
}
ul li {
    list-style:disc;
}
ol li, ul li {
    margin-left: 1em;
}
ul.thread {
    list-style-type: none;
    border-left: 2px #666 solid;
    padding-left: 10px;
    margin: 5px 0px;
}
ul.thread li {
    color: #333;
    font-size: 11px;
}

/* images */
img {
    border: 0px;
}
img.centre {
    display: block;
    text-align: center;
    margin: 5px auto;
}

img.center {
    display: block;
    text-align: center;
    margin: 5px auto;
}

img.left {
    margin: 5px 5px 5px -5px;
    float: left;
}

img.right {
    margin: 5px -5px 5px 5px;
    float: right;
}

img.icon {
    border: 0px;
    vertical-align: middle;
}


/* floats */
.floatl {
    float: left;
    font-size: 90%;
    line-height: 1.5em;
    padding: 5px;
    width: 45%;
    margin-right: 3%;
    border: 1px solid #669966;
    background-color:#eef3ee;
}
.floatr {
    float: right;
    font-size: 90%;
    line-height: 1.5em;
    padding: 5px;
    width: 45%;
    margin-left: 3%;
    border: 1px solid #669966;
    background-color:#eef3ee;
}


/* text formatting */
tt {
    font:11px/1.3em "Lucida Console", Monaco, monospace;
    color: #999;
    background-color: #eee;
}
.hidden {
    display: none;
}
.wikisource {
    font-family: monospace;
    font-size: .9em;
    color: #666;
    background-color: #F9F9F9;
    border: 1px solid #CCC;
    padding: 1em;
    margin-bottom: .5em;
}
.highlight {color: red; background: #FFFFD0;}
.strikethrough {color: #888; text-decoration: line-through;}
.underline {text-decoration: underline;}
.indent {
    margin-left: 40px;
}
.notes {
    font: normal 8pt Verdana, sans-serif;
    margin: 1pt;
    padding: 1pt;
    color: #666666;
    font-weight: normal;
}
.help {
    cursor: help;
}
.centre {text-align: center;}
.center, .center p {text-align: center;}
.keys {
    color: #666;
    background-color: #DDD;
    font: normal 95% Verdana, sans-serif;
    text-align: center;
    border-top: 1px solid #FFF;
    border-left: 1px solid #FFF;
    border-right: 1px solid #AAA;
    border-bottom: 1px solid #AAA;
    padding: .1em .2em;
}
.keys:hover {
    color: #555;
    background-color: #CCC;
    border-top: 1px solid #FFF;
    border-left: 1px solid #FFF;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
}
acronym {
    border-bottom: 1px dotted #333;
    cursor: help;
    color: #333;
}
abbr {
    border-bottom: 1px dotted #333;
    cursor: help;
    color: #333;
}
blockquote {
    width: 500px;
    margin-bottom: 0px;
}
hr {
    border: none 0;
    border-top: 1px dotted #DDD;
    margin: 8px auto;
    height: 1px;
}
.disabled {
    color: #aaa;
}


/* Action-related styling */
/* Adminpages action */
table#adminpages {
	border: 1px solid #CCC;
	width: 100%;
}

table#adminpages td.actions {
	text-align: center;
	font-size: 70%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

form#form_page_admin_panel fieldset {
	line-height: 2em;
}

/* Adminuser action */
table#adminusers {
	border: 1px solid #CCC;
	width: 100%;
}

table#adminusers td.actions {
	text-align: center;
	font-size: 70%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

form#form_user_admin_panel fieldset {
	line-height: 2em;
}

/* Lastedit action */
.lastedit {
	border:dotted 1px;
	padding:3pt;
	margin:8pt; color:#888;
	font-size:8pt;
	width:30%;
}

.lastedit_notes {
	color: #880;
}

/* TextSearch & TextSearchExpanded Actions*/
.tse_keywords {
	font-weight: bold;
	color: green;
	background-color: #FAEBD7;
}

/* Calendar Action */
table.calendar {
	color: #000;
	background-color: #EEE;
	border-collapse: collapse;
}

table.calendar caption {
	border: 1px solid #CCC;
	margin:5px 0;
	font-size: 95%;
	color: #666;
	padding:2px;
}

table.calendar thead {
	border: 2px solid #CCC;
	background-color: #DDD;
}

table.calendar tbody.face {
	background-color: #EEE;
	border: 2px solid #CCC;
}

table.calendar tbody.calnav {
	background-color: #FFF;
}

table.calendar thead th {
	border: 1px solid #CCC;
	padding: 1px;
	text-align: center;
	font-size: 85%;
	width: 26px;
}

table.calendar tbody.face td {
	border: 1px solid #CCC;
	text-align: right;
}

table.calendar td.currentday {
	color: #FFF;
	background-color: #33A;
}

table.calendar tbody.face td:hover {
	background-color: #DDD;
}

table.calendar tbody.face td.currentday:hover {
	color: #FFF;
	background-color: #66C;
}

table.calendar tbody.calnav {
	font-weight: bold;
}

table.calendar td.prevmonth {
	text-align: left;
	font-size: 85%;
}

table.calendar td.curmonth {
	text-align: center;
}

table.calendar td.nextmonth {
	text-align: right;
	font-size: 85%;
}

table.calendar a:link {
	color: #339;
	text-decoration: none;
}

table.calendar a:visited {
	color: #339;
	text-decoration: none;
}

table.calendar a:hover {
	color: #933;
}

table.calendar a:active {
	color: #339;
	text-decoration: none;
}

/* Usersettings action */
table.usersettings {
}

/* Wikkaconfig action */
table.wikkaconfig {
	width: 70%;
	font-size: 90%;
}

table.wikkaconfig caption {
	font-size: 120%;
	background-color: #E9E9F9;
	padding: 5px;
}

table.wikkaconfig tbody th[scope=row] {
	text-align: right;
	padding-right: 5px;
}

table.wikkaconfig tbody td {
	padding-left: 5px;
}


/* Handler-related styling */

/* Acls handler */
table.acls {
}

/* 3rdparty-code related styling */

/* syntax highlighting code - GeSHi */
.code ol {
	margin-top: 6px;
	margin-bottom: 6px;			/* prevent vertical scroll bar in case of overflow */
}
.code li {
	font-size: 11px;
	font-family: "Lucida Console", Monaco, monospace;
}
.code .br0	{ color: #6C6; }
.code .co1	{ color: #808080; font-style: italic; }
.code .co2	{ color: #808080; font-style: italic; }
.code .coMULTI	{ color: #808080; font-style: italic; }
.code .es0	{ color: #009; font-weight: bold; }
.code .kw1	{ color: #b1b100; }
.code .kw2	{ color: #000; font-weight: bold; }
.code .kw3	{ color: #006; }
.code .kw4	{ color: #933; }
.code .kw5	{ color: #00F; }
.code .me0	{ color: #060; }
.code .nu0	{ color: #C6C; }
.code .re0	{ color: #00F; }
.code .re1	{ color: #00F; }
.code .re2	{ color: #00F; }
.code .re4	{ color: #099; }
.code .sc0	{ color: #0BD; }
.code .sc1	{ color: #DB0; }
.code .sc2	{ color: #090; }
.code .st0	{ color: #F00; }

/* wikiedit */
.toolbar tr { background: ButtonFace; }
.toolbar .btn-, .toolbar  .btn-hover,  .toolbar .btn-active,
.toolbar .btn-pressed {
	background: ButtonFace;
	color: ButtonText;
	border: 1px solid ButtonFace;
	padding: 1px;
	margin: 0px;
	cursor: pointer;
}
.toolbar .btn- img  { width: 20px; height: 20px; }
.toolbar .btn-hover { border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; }
.toolbar .btn-active,
.toolbar .btn-pressed { border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; }
.toolbar .btn-pressed { background: ButtonHighlight; }
.editornamecss { background-color:#CCCCFF; font-size: 18px; padding: 0 10px; }


/* login page */
div#recaptcha_login {}
div#recaptcha_login div.error {
    margin:4px 0;
    color: #933;
    font-style: normal;
    font-weight: bold;
    font-size: 0.9em;
    background-color:#fff;
}
div#recaptcha_login div.success {
    margin:4px 0;
    color: #33aa33;
    font-style: normal;
    font-weight: bold;
    font-size: 0.9em;
    background-color:#fff;
}

/* Google Fonts Api */
div#google_font_api_samples {}
div#google_font_api_samples span {
    display:block;
    font-size:14px;
    margin-bottom:8px;
}
